package com.aura.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 用户信息实体类
 * 对应数据库中的user_info表
 */
@Data
@Schema(description = "用户信息实体类")
public class UserInfo {
    
    @Schema(description = "用户ID")
    @TableId(type = IdType.AUTO)
    private Integer id;
    
    @Schema(description = "用户名")
    private String userName;
    
    @Schema(description = "密码")
    private String password;
    
    @Schema(description = "GitHub地址")
    private String githubUrl;
    
    @Schema(description = "删除标志：0-未删除，1-已删除")
    private String deleteFlag;
    
    @Schema(description = "创建时间")
    private Date createTime;
    
    @Schema(description = "更新时间")
    private Date updateTime;
}